should detect self-referencing fragment as cyclic